﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Common;

namespace ASG.CodeGenerator.SQL
{
    public abstract class ColumnTypeCode<ParameterType> : ASG.CodeGenerator.Core.Code
        where ParameterType : DbParameter
    {
        private string _DBType;
        private Type _Type;

        public string DBType
        {
            get { return _DBType; }
            set { _DBType = value; }
        }

        public Type Type
        {
            get { return _Type; }
            set { _Type = value; }
        }

        public abstract ParameterType Parameter
        {
            get;
        }
    }
}
